package com.huarui.returned.dao;

import java.util.List;
import java.util.Map;

import org.ewaf.framework.dao.IBaseDao;
import com.huarui.returned.model.ReturnedItem;

public interface IReturnedItemDao extends IBaseDao {

	public List<Map<String,String>> getReturnedItemsByReturnedId(Integer returnedId);

	public void batchInsertReturnedItems(List<ReturnedItem> returnedItems);

	public void batchUpdateReturnedItems(List<ReturnedItem> returnedItems);

	public Integer batchDeleteReturnedItems(Map<String,Object> map);

	@SuppressWarnings("unchecked")
	public Integer getReturnedItemCountByConditions(Map queryMap);

	@SuppressWarnings("unchecked")
	public List<Map> getReturnedItemByConditions(Map queryMap);
}
